package _spring_test._CircularReference3;

import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @Author: huangya
 * @Date: 2020/09/22
 * @Description:
 */
@Component
public class ClassB333Impl implements ClassB333 {

    private String b1;

    @Resource
    private ClassA333 classA333;

    public String getB1() {
        return b1;
    }

    public void setB1(String b1) {
        this.b1 = b1;
    }

    public ClassA333 getClassA333() {
        return classA333;
    }

    public void setClassA333(ClassA333 classA333) {
        this.classA333 = classA333;
    }

    @Override
    public String bbb() {
        System.out.println("bbb");
        return classA333.aaa();
    }
}
